<template>
    <!-- //取样 -->
    
        <div>
            <Collapse :description-column="2" :field-list="drillRoundtripDescritionFieldList" :field-longlist="FieldListLong"  :data="data"/>
    
        </div>
    
    
    
    
    
    </template>
        
    <script setup lang='ts'>
    import _ from 'lodash';
    import Collapse from '@/components/common/collapse/Collapse.vue'
    import API from '@/network/api';
    import { useRvo } from '@/hook/useRvo';
    
    
    const drillRoundtripDescritionFieldList = reactive([
        {
            name: "type",
            label: "水类型",
            type: "TEXT"
        },
        {
            name: "firstWaterLevel",
            label: "初见水位",
            type: "TEXTMI"
        },
        {
            name: "firstWaterTime",
            label: "初见时间",
            type: "TIME"
        },
        {
            name: "stableWaterTime",
            label: "稳定水位时间",
            type: "TIME"
        },
        {
            name: "stableWaterLevel",
            label: "稳定水位",
            type: "TEXTMI"
        },
        {
            name: "description",
            label: "描述",
            type: "LONGTEXT"
        },
    
    ])
    const FieldListLong=reactive([{
    
    }])
    const data = ref([])
    
    const props = defineProps({
        drillHoleId: {
            type:String,
            default:""
        }
    })
    
    onMounted(async () => {
        let listVo = useRvo().listRvo
        listVo.id = props.drillHoleId
        listVo.pageSize = 100;
        let res = await API.drillWaterLevel.list(listVo);
        data.value = res.data.list
        //区分长文本
       
    
    })
    
    
    </script>
        
    <style scoped lang="scss">
    
    
    
    </style>